package com.bw.common.viewmodel

import com.bw.base.constants.ApiConst
import com.bw.common.entity.VideoEntity
import com.bw.http.Res
import kotlinx.coroutines.flow.Flow
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * Author :
 * Created by lhy on 2025/5/12.
 * Description:
 */
interface BaseApiService {
    @GET(ApiConst.GET_VIDEO)
    suspend fun getVideo(
        @Query("page") page: Int,
        @Query("pagesize") pagesize: Int
    ): Flow<Res<List<VideoEntity>>>


}